package rhc.discribute.node.sendMessage;

import rhc.discribute.node.host.Host;

/**发送消息回调接口
 * @author rhc
 *
 */
public interface SendMessageCallback {

	void send(Host host,Host toHost,String message);
	
	void receiveSuccess(Host host,Host toHost,String message);
	
	void receiveFail(Host host,Host toHost,String message);
	
}
